﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<%
    WebApp.Models.Person.Ref person = (WebApp.Models.Person.Ref) Model;
%>

<div class="personSmall" style="background-image:url(https://graph.facebook.com/<%=person.Id %>/picture)">
    <%= person.Name %><br />
    <div>
        <a class="requestLinks" href="http://www.facebook.com/dialog/friends/?id=<%=person.Id %>&redirect_uri=<%=Url.Action("Index", "Profile", null, "http") %>">Send Friend Request</a>
    </div>
</div>